<%@ page language="java" pageEncoding="utf8"%>
<jsp:include page="/head.jsp" />
<script type="text/javascript" src="./script/movieRoom.js"></script>
<script type="text/javascript">
   	dojo.addOnLoad(function(){
   		var bookTicketsAEle =  document.getElementById("a_bookTickets");
   		bookTicketsAEle.className = "active";
   		MovieRoom.sessionId = document.getElementById("sessionId").value;
   		MovieRoom.askForSessionInfo();
   		document.getElementById("orderSeatNos").value="";
   	});
   	
   	function checkSubmit(){
   		if(document.getElementById("orderSeatNos").value == ""){
   			return false;
   		}
   	}
</script>
<!-- main content -->
<div class="maincontent">
	<div class="HackBox"></div>
	<div id="breadcrumb">
		&nbsp;
		<a href="index.jsp">网上订票</a>&nbsp;&gt;&nbsp;
		选择场次<font color=red>&nbsp;&gt;&nbsp;选择座位</font>&nbsp;&gt;&nbsp;选择支付
	</div>
	<div class="maincontentin">
 		<div class="movieRoomDiv">
 			<div class="movieDescDiv">
 				<table>
 					<tr>
 						<td>
 							<img id="mrPhoto" src="images/mj-movieRoom.jpg">
 						</td>
 						<td>
 							<ul class="movieBriefInfo">
 								<li style="font-size: 14px; color: red;"><span id="mrName"></span></li>
 								<li>场次：<span id="mrSessionDate"></span></li>
 								<li>语言：<span id="mrLanguage"></span></li>
 								<li>时长：<span id="mrTime"></span></li>
 							</ul>
 						</td>
 					</tr>
 				</table>
			
			</div>
			<div class="dotted_line" style="padding:5px"></div>
			<div id="allSeats" class="roomSeatDiv">			
			</div>
			<div class="screenDiv">
				<img src="images/screen.jpg"></img>
			</div>
			<div class="dotted_line" style="margin:10px"></div>
			<div class="expDiv">
				<img src="images/chair_available.jpg"></img><span>座位可选</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<img src="images/chair_pick.jpg"></img><span>您当前已选座位</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<img src="images/chair_sold.jpg"></img><span>已售出</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			</div>
		</div>
		<div class="buttonbar" style="border-top:0px">
			<div class="btngroup">
				<span class="blue-btn"> <span class="inputbtn"> <span
						class="l"></span> <input type="button" value='上一步' maxlength="20" onclick="window.location.href='movieSession.jsp'"></input> </span> </span>
				<span class="blue-btn"> <span class="inputbtn"> <span
						class="l"></span> 
					<form method="post" action="seatsSelect.do?method=orderSeats">
						<input id="sessionSeats" name="sessionSeats" type="hidden" />
						<input id="orderSeatNos" name="orderSeatNos" type="hidden" value=""/>
						<input id="sessionId" name="sessionId" type="hidden" value="<%=request.getParameter("sessionId")%>"/>
						<input type="submit" value='提交' onclick="return checkSubmit()"></input>
					</form>
				</span> </span>
			</div>
		</div>
	</div>	
</div>
<!-- end of main content -->
<jsp:include page="footer.jsp" />